package cc.rengu.oltp.service.realize;

/**
 * 全局流水号及跟踪序号接口类
 * Created by wangc on 2020/11/26.
 */
public interface GlobalTraceService {
    String GENETATE_GLOBAL_TRACE_NUMBER = "generateGlobalTraceNumber";
    String GENETATE_GLOBAL_PATH_NUMBER = "generateGlobalPathNumber";

    /**
     * 生成全局流水号
     *
     * @return 全局流水号
     */
    String generateGlobalTraceNumber();

    /**
     * 生成全局跟踪序号
     *
     * @return 全局跟踪序号
     */
    String generateGlobalPathNumber();
}
